package com.dz.content.domain.entity;

import com.dz.common.core.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @ClassName : Content_Category
 * @Description :
 * @Author : ming
 * @Date: 2020-12-14 10:38
 **/
@Table(name="tb_content_category")
@Data
@Entity
public class ContentCategory extends BaseEntity implements Serializable {
    /** serialVersionUID. */
    private static final long serialVersionUID = 1L;

    @Id
    @Column(name = "id")
    private Long id;

    @Column(name = "name")
    private String name;
}
